<template>
  <div>

    <Rate :value="score"  @update-rate="update" />
 
  </div>
</template>

<script setup>
  import {ref} from 'vue'
  // import Rate from './components/Rate1.vue'
  import Rate from './components/Rate2.vue'

  let score = ref('1')
  function update(num){
    score.value = num
  }
</script>

<style lang="css" scoped>

</style>